{% extends '::backend.html.twig' %}
{% block contenido-%}
{% if is_granted('ROLE_ADMINISTRADOR') %}
<div class="container">
<h3>Editar Gremio</h3>
	<form method="post" action="{{ path('administracion_service_update',{'id':entity.id}) }}">
	<input type="hidden" name="_method" value="PUT" />
	 <div class="col-md-4">
			<div class="row form-group">
				{{ form_row(edit_form.name) }}
			</div>
			<div class="row form-group">
				{{ form_row(edit_form.description) }}
			</div>
	</form>
	<div class="row">
    {{ form_rest(edit_form) }}
   <a class="btn btn-link btn-xs" href="{{ path('administracion_service') }}">
										Listar Gremios
   </a>
    {{ form(delete_form) }}
	 </div>
		</div>
	</div>
{% else %}
<p>Usted no tiene permisos para acceder a este area</p>
{% endif %}
{% endblock %}
